package com.wwd.common.lock;

public abstract class AbstractDistributedLock implements DistributedLock{

	@Override
	public boolean lock(String key, long expire) {
		return lock(key,expire,RETRY_TIMES);
	}

	@Override
	public boolean lock(String key) {
		return lock(key,EXPIRE_TIME,RETRY_TIMES);
	}

}
